package com.shallowdream.threaddemo.continueftp;

import lombok.Data;
import org.apache.commons.net.ftp.FTPClient;

@Data
public class FtpServerInfo {
    public FtpServerInfo() {
    }

    //ftp服务器 ip地址
    private String ip;
    //ftp服务器 端口
    private int port;
    //ftp服务器用户名
    private String username;
    //ftp服务器密码
    private String password;
    //ftp 客户端字节编码
    private String charSet;
    //ftp 传输方式  （二进制等）
    private int fileType;
    //ftp客户端
    private FTPClient ftpClient;
    //FTP服务路径
    private String remotePath;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCharSet() {
        return charSet;
    }

    public void setCharSet(String charSet) {
        this.charSet = charSet;
    }

    public int getFileType() {
        return fileType;
    }

    public void setFileType(int fileType) {
        this.fileType = fileType;
    }

    public FTPClient getFtpClient() {
        return ftpClient;
    }

    public void setFtpClient(FTPClient ftpClient) {
        this.ftpClient = ftpClient;
    }

    public String getRemotePath() {
        return remotePath;
    }

    public void setRemotePath(String remotePath) {
        this.remotePath = remotePath;
    }
}
